package org.bluebee.billiardsbar.entity;

public class User {
	private String userId;
	private String name;
	private String identification;
	
	private String tele;
	public String getUserid() {
		return userId;
	}
	public void setUserid(String userid) {
		this.userId = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIdentity() {
		return identification;
	}
	public void setIdentity(String identity) {
		this.identification = identity;
	}
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final User other = (User) obj;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}
	public User() {
		super();
	}
	public User(String userId, String name, String identification, String tele) {
		super();
		this.userId = userId;
		this.name = name;
		this.identification = identification;
		this.tele = tele;
	}
	public String toString() {
		return "User [identification=" + identification + ", name=" + name
				+ ", tele=" + tele + ", userId=" + userId + "]";
	}
	public String getTele() {
		return tele;
	}
	public void setTele(String tele) {
		this.tele = tele;
	}

}
